<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets">
    
    <h:head>
        <title>Add Course</title>
    </h:head>
    <f:view>
<h:body>
	<h:form enctype="multipart/form-data">

    <p:messages showDetail="true"/>

    <p:fileUpload value="#{fileUploadControllerBean.file}" mode="simple"/>

    <p:commandButton value="Submit" ajax="false"
                actionListener="#{fileUploadControllerBean.upload}"/>

</h:form>
             
       </h:body>
    </f:view>
</html>
